home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
e
/
misc.txt
/
000082_gquiring@gmail.com_Mon Feb 26 14:49:03 2007.msg
< prev
next >
Wrap
Text File
|
2020-01-01
|
4KB
|
108 lines
Path: reader2.panix.com!panix!newsfeed.media.kyoto-u.ac.jp!postnews.google.com!z35g2000cwz.googlegroups.com!not-for-mail
From: "Gary Quiring" <gquiring@gmail.com>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: SSL Solaris 9 compile errors
Date: 26 Feb 2007 07:25:54 -0800
Organization: http://groups.google.com
Lines: 76
Message-ID: <1172503554.928519.186200@z35g2000cwz.googlegroups.com>
References: <1171461754.452734.293090@a75g2000cwd.googlegroups.com>
<slrnet6bnr.t17.fdc@panix1.panix.com>
<1171474573.115000.277200@v45g2000cwv.googlegroups.com>
<slrnet95nd.1b6.fdc@panix2.panix.com>
<1171585254.113397.40400@v33g2000cwv.googlegroups.com>
<slrnetc6ch.8ae.fdc@panix1.panix.com>
<1172066927.099583.146980@j27g2000cwj.googlegroups.com>
<slrnetp1rf.1j0.fdc@panix1.panix.com>
<1172090871.101683.127130@l53g2000cwa.googlegroups.com>
<slrnetro08.nif.fdc@panix3.panix.com>
NNTP-Posting-Host: 65.207.116.34
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1172503571 5146 127.0.0.1 (26 Feb 2007 15:26:11 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Mon, 26 Feb 2007 15:26:11 +0000 (UTC)
In-Reply-To: <slrnetro08.nif.fdc@panix3.panix.com>
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; Avant Browser; Avant Browser; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.1),gzip(gfe),gzip(gfe)
Complaints-To: groups-abuse@google.com
Injection-Info: z35g2000cwz.googlegroups.com; posting-host=65.207.116.34;
posting-account=FQhNKw0AAABpZoI-99pbw0OCE1cm_48O
Xref: panix comp.protocols.kermit.misc:15654
> cd /usr/local/ssl/include/openssl
> grep OPENSSL_VERSION_TEXT opensslv.h
>
#define OPENSSL_VERSION_TEXT "OpenSSL 0.9.8d-fips 28 Sep 2006"
#define OPENSSL_VERSION_TEXT "OpenSSL 0.9.8d 28 Sep 2006"
#define OPENSSL_VERSION_PTEXT " part of " OPENSSL_VERSION_TEXT
> What happens if you omit the -DOPENSSL_097 flag, but leave everything else the
> same?
With KFLAGS or without KFLAGS I get the exact same error:
In file included from /usr/local/ssl/include/openssl/x509.h:96,
from /usr/local/ssl/include/openssl/ssl.h:183,
from ck_ssl.h:43,
from ckcmai.c:607:
/usr/local/ssl/include/openssl/rsa.h:335: error: parse error before
numeric constant
/usr/local/ssl/include/openssl/rsa.h:336: error: parse error before
numeric constant
Frank there has to be some compat issue with Kermit, I got this answer
from someone on the Solaris forum who also had issues:
i've done this with kermit 2.0.11 and openssl 0.9.7l. i don't know
if
openssl 0.9.8 is supported with kermit 2.0.11. seems like i found
something on the kermit web site that indicated it was not.
i used the Sun C compiler to do all of the builds.
after building openssl and installing in /usr/local/openssl, here's
what i did to get SSL support in kermit:
In the kermit makefile, uncomment the LNKFLAGS= line.
In the kermit makefile, change the make target named
solaris2xg32+openssl+zlib+pam+shadow as shown
solaris2xg32+openssl+zlib+pam+shadow:
@echo 'Making C-Kermit $(CKVER) for Solaris 2.x with SUNWspro
cc, OpenSSL...'
@echo 'Please read the comments that accompany the solaris2xg
target.'
$(MAKE) xermit KTARGET=$${KTARGET:-$(@)} \
"CFLAGS = -g -O -Usun -DOPENSSL_097 -DSVR4 -DSOLARIS9 -
DSTERMIOX -DSELECT -DFNFLOAT \
-DCK_CURSES -DCK_NEWTERM -DDIRENT -DHDBUUCP -DTCPSOCKET \
-DCK_AUTHENTICATION -DCK_SSL -DCK_PAM -DCK_SHADOW -DZLIB \
-DBIGBUFOK -I/usr/local/openssl/include" \
"LIBS= -L/usr/local/openssl/lib -ltermlib \
-lsocket -lnsl -lm -lresolv -lssl -lcrypto -lpam -lz"
Edit the file ck_ssl.h and add the line:
#undef EM
in the following location (the newly added line should be line number
42 in the file):
#define OPENSSL_NO_MDC2
#undef EM
#include <openssl/des.h>
#include <openssl/ssl.h>
What does that EM line do?